<%@include file="tag.jsp" %>
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib uri="/WEB-INF/tld/webTag.tld" prefix="webtag"%>

<div class="page-header navbar navbar-fixed-top">

		<div class="page-header-inner ">

			<div class="page-logo">
				<a class="navbar-brand logo-default" href="${ctp }" rel="${fct }">直播聚合</a>
				<div class="menu-toggler sidebar-toggler"></div>
			</div>
			
			<div class="hor-menu  hor-menu-light hidden-sm hidden-xs">
				<ul class="nav navbar-nav">
					<li class="classic-menu-dropdown"><a href="${ctp }" rel="${fct }/"> 首页 <span
							class="selected"> </span>
					</a></li>

				<webtag:webCatolog count="5">
					<li class="classic-menu-dropdown">
						<a href="${ctp }${url }" rel="${fct }${url }">${name } <span class="selected"> </span></a>
					</li>
				</webtag:webCatolog>

				<!-- <li class="classic-menu-dropdown"><a href="/all"> 直播大全 <span
							class="selected"> </span>
					</a></li>
					
					<li class="classic-menu-dropdown"><a href="/platform/1">
							斗鱼 <span class="selected"> </span>
					</a></li>
					<li class="classic-menu-dropdown"><a href="/platform/2">
							熊猫 <span class="selected"> </span>
					</a></li> -->
					
				</ul>
			</div>
			
			
			<a href="javascript:;" class="menu-toggler responsive-toggler"
				data-toggle="collapse" data-target=".navbar-collapse"> </a>
			<div class="top-menu">
				<!-- <ul class="nav navbar-nav pull-right">

					<li class="dropdown dropdown-user"><a href="javascript:;"
						class="dropdown-toggle" data-toggle="dropdown"
						data-hover="dropdown" data-close-others="true"> <span
							class="username username-hide-on-mobile">登陆</span> <i
							class="fa fa-angle-down"></i>
					</a>
						<ul class="dropdown-menu dropdown-menu-default">
							<li><a href="/favorite"> <i class="fa fa-star"></i> 我的关注
							</a></li>
							<li class="divider"></li>
							<li><a href="/login" data-method="post"> <i
									class="icon-key"></i> 请先登录
							</a></li>
						</ul></li>
				</ul> -->
				
			</div>
		</div>
	</div>
	<div class="clearfix"></div>
	
	<script type="text/javascript">
		$(function(){
			var curWwwPath=window.document.location.href;
			$(".classic-menu-dropdown a").each(function(index){
				if($(this).attr("rel") == curWwwPath){
					$(this).parent("li").addClass("active");
				}
			});
			
		});
	</script>

